home *** CD-ROM | disk | FTP | other *** search
/ Windows Game Programming for Dummies (2nd Edition) / WinGamProgFD.iso / mac / DirectX SDK / DXSDK / include / ksguid.h < prev    next >
C/C++ Source or Header  |  2001-10-08  |  628b  |  30 lines

  1. /*++
  2.  
  3. Copyright (C) Microsoft Corporation, 1996 - 2001
  4.  
  5. Module Name:
  6.  
  7.     ksguid.h
  8.  
  9. Abstract:
  10.  
  11.     Define guids for non-C++.
  12.  
  13. --*/
  14.  
  15. #define INITGUID
  16. #include <guiddef.h>
  17.  
  18. #if defined( DEFINE_GUIDEX )
  19.     #undef DEFINE_GUIDEX
  20. #endif
  21. #define DEFINE_GUIDEX(name) EXTERN_C const CDECL GUID __declspec(selectany) name = { STATICGUIDOF(name) }
  22.  
  23. #ifndef STATICGUIDOF
  24.     #define STATICGUIDOF(guid) STATIC_##guid
  25. #endif // !defined(STATICGUIDOF)
  26.  
  27. #if !defined( DEFINE_WAVEFORMATEX_GUID )
  28. #define DEFINE_WAVEFORMATEX_GUID(x) (USHORT)(x), 0x0000, 0x0010, 0x80, 0x00, 0x00, 0xaa, 0x00, 0x38, 0x9b, 0x71
  29. #endif
  30.